package com.ccc.demoboot.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * @Author wz
 * @Date 2024/6/12 8:44
 * @PackageName:com.ccc.demoboot.pojo
 * @ClassName: Rolemidmenu
*/

/**
 * 角色对应菜单表
 */
@TableName(value = "rolemidmenu")
public class Rolemidmenu {
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 关联角色id
     */
    @TableField(value = "roleid")
    private Integer roleid;

    /**
     * 关联菜单id
     */
    @TableField(value = "menuid")
    private Integer menuid;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取关联角色id
     *
     * @return roleid - 关联角色id
     */
    public Integer getRoleid() {
        return roleid;
    }

    /**
     * 设置关联角色id
     *
     * @param roleid 关联角色id
     */
    public void setRoleid(Integer roleid) {
        this.roleid = roleid;
    }

    /**
     * 获取关联菜单id
     *
     * @return menuid - 关联菜单id
     */
    public Integer getMenuid() {
        return menuid;
    }

    /**
     * 设置关联菜单id
     *
     * @param menuid 关联菜单id
     */
    public void setMenuid(Integer menuid) {
        this.menuid = menuid;
    }
}